//
//  YLProductAmount0fMoneyCell.m
//  YLFinanceService
//
//  Created by she1323 on 2017/8/29.
//  Copyright © 2017年 she1323. All rights reserved.
//  项目金额

#import "YLProductAmount0fMoneyCell.h"
#import "YLProductModel.h"
@interface YLProductAmount0fMoneyCell ()
@property (weak, nonatomic) IBOutlet UILabel *leftMoney;
@property (weak, nonatomic) IBOutlet UILabel *totalMoney;

@end


@implementation YLProductAmount0fMoneyCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setModel:(YLProductModel *)model
{
    _model = model;
    _totalMoney.text = [NSString stringWithFormat:@"%.2f", model.maxLimit / 10000.0];
    _leftMoney.text = [NSString stringWithFormat:@"%.2f",  model.indexLimit / 10000.0];
}




- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

+ (NSString *)cellID
{
    return @"YLProductAmount0fMoneyCell";
}

@end
